home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
WILD16.PAK
/
FILES2.C
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
1KB
|
47 lines
/*-----------------------------------------------------------------------*
* filename - files2.c
*
* function(s)
* none
*----------------------------------------------------------------------*/
/*
* C/C++ Run Time Library - Version 8.0
*
* Copyright (c) 1987, 1997 by Borland International
* All Rights Reserved.
*
*/
/* $Revision: 8.2 $ */
#pragma option -zC_TEXT
#pragma option -zR_DATA
#pragma option -zTDATA
#include <io.h>
#include <fcntl.h>
#include <_nfile.h>
unsigned _nfile = _NFILE_;
/*---------------------------------------------------------------------*
Name _openfd
Usage unsigned int _openfd[];
Prototype in not prototyped.
Description array of access modes for file/devices
*---------------------------------------------------------------------*/
unsigned int _openfd[_NFILE_] =
{
O_RDONLY | O_DEVICE | O_TEXT,
O_WRONLY | O_DEVICE | O_TEXT,
O_WRONLY | O_DEVICE | O_TEXT,
O_RDWR | O_DEVICE | O_BINARY,
O_WRONLY | O_DEVICE | O_BINARY
};